package com.oschina.wed.service;

import com.oschina.wed.dal.dao.SuperDAO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component("baseService")
public class BaseService {
    @Qualifier("superDao")
    @Resource
    private SuperDAO superDAO;

    public SuperDAO getSuperDAO() {
        return superDAO;
    }

    public void setSuperDAO(SuperDAO superDAO) {
        this.superDAO = superDAO;
    }
}
